#pragma once
#include "Effect.h"
#include "Matrix44.h"

VAMPIRE_NAMESPACE_BEGIN

class _VampireExport BasicShader : public Effect
{
public:
	BasicShader(void);

	void             bindHandles();

	void             setTransformMatrix(const Matrix44& mat);

	void             setTexture(Texture* tex);

private:
	D3DXHANDLE       mhModelViewProj;
	Matrix44         mModelViewProjMat; 
	D3DXHANDLE       mhTexture;
	Texture*         mpTexture;

	REGISTER_HELPER(BasicShader);
};

VAMPIRE_NAMESPACE_END